package  com.pcbly.web.business.crm;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.crm.WxcldBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface WxcldService extends BaseService<WxcldBean> {

	WxcldBean getWxcldBeanById(String id) throws Exception;
	
	void removeWxcldBeanById(String id) throws Exception;
	
	void removeWxcldBeanByIds(String ids) throws Exception;
	
	WxcldBean saveWxcldBean(WxcldBean crm) throws Exception;
	
	WxcldBean updateWxcldBean(WxcldBean crm) throws Exception;
	
	Page<WxcldBean>  findWxcldBeanByCond(WxcldBean bean,
			Page<WxcldBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveWxcldBeanExt(String sql) throws Exception;

	String findWxcldBeanExtCreate(String tableName) throws Exception;

	String findWxcldBeanExtEdit(String tableName, String id)
			throws Exception;

	String findWxcldBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasWxcldBeanExtData(String tableName, String id)
			throws Exception;
}